package com.yunxi.order.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.order.pojo.TrRefundVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 订单退款表 服务类
 * </p>
 *
 * @author 
 * @since 2019-09-09
 */
public interface TrRefundDubboService {

    TrRefundVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(TrRefundVO trRefundVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<TrRefundVO> findPageByVO(TrRefundVO trRefundVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<TrRefundVO> trRefundVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(TrRefundVO trRefundVO);
}
